package com.wbk.lotterysystemuserservice.commons.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginBO implements Serializable {

    @ApiModelProperty(value="用户名",required=true)
    @NotBlank(message="用户名不能为空")
    private String username;

    @ApiModelProperty(value="密码",required=true)
    @NotBlank(message="密码不能为空")
    private String password;
}
